|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--jade.core.Profile
This class allows retrieving configuration-dependent classes.
| Field Summary | |
static java.lang.String |
ACLCODECS
This constant is the key of the property whose value contains the list of ACLCODECSs that have to be launched at bootstrap time. |
static java.lang.String |
AGENTS
This constant is the name of the property whose value contains the list of agents that have to be launched at bootstrap time |
static java.lang.String |
MAIN
This constant is the name of the property whose value contains a boolean indicating if this is the Main Container or a peripheral container. |
static java.lang.String |
MAIN_HOST
This constant is the name of the property whose value is the name (or the IP address) of the network host where the JADE Main Container is running. |
static java.lang.String |
MAIN_PORT
This constant is the name of the property whose value contains an integer representing the port number where the Main Container is listening for container registrations. |
static java.lang.String |
MAIN_PROTO
This constant is the name of the property whose value is a String indicating the protocol to use to connect to the Main Container. |
static java.lang.String |
MTPS
This constant is the key of the property whose value contains the list of MTPs that have to be launched at bootstrap time. |
static java.lang.String |
PLATFORM_ID
This constant is the name of the property whose value contains the unique platform ID of a JADE platform. |
| Constructor Summary | |
Profile()
|
|
| Method Summary | |
protected abstract jade.core.acc |
getAcc()
|
protected abstract jade.core.IMTPManager |
getIMTPManager()
|
protected abstract jade.core.MobilityManager |
getMobilityManager()
|
protected abstract jade.core.NotificationManager |
getNotificationManager()
|
abstract java.lang.String |
getParameter(java.lang.String key)
Retrieve a String value from the configuration properties. |
protected abstract jade.core.Platform |
getPlatform()
|
protected abstract jade.core.ResourceManager |
getResourceManager()
|
abstract List |
getSpecifiers(java.lang.String key)
Retrieve a list of Specifiers from the configuration properties. |
abstract void |
setParameter(java.lang.String key,
java.lang.String value)
Assign the given value to the given property name. |
abstract void |
setSpecifiers(java.lang.String key,
List value)
Assign the given value to the given property name. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
public static final java.lang.String MAIN
public static final java.lang.String MAIN_PROTO
public static final java.lang.String MAIN_HOST
public static final java.lang.String MAIN_PORT
public static final java.lang.String PLATFORM_ID
public static final java.lang.String AGENTS
public static final java.lang.String MTPS
getSpecifiers(MTPS)
method.public static final java.lang.String ACLCODECS
getSpecifiers(ACLCODECS)
method.| Constructor Detail |
public Profile()
| Method Detail |
protected abstract jade.core.Platform getPlatform()
throws ProfileException
protected abstract jade.core.IMTPManager getIMTPManager()
throws ProfileException
protected abstract jade.core.acc getAcc()
throws ProfileException
protected abstract jade.core.MobilityManager getMobilityManager()
throws ProfileException
protected abstract jade.core.ResourceManager getResourceManager()
throws ProfileException
protected abstract jade.core.NotificationManager getNotificationManager()
throws ProfileException
public abstract java.lang.String getParameter(java.lang.String key)
throws ProfileException
key - The key identifying the parameter to be retrieved
among the configuration properties.
public abstract List getSpecifiers(java.lang.String key)
throws ProfileException
key - The key identifying the list of Specifires to be retrieved
among the configuration properties.
public abstract void setParameter(java.lang.String key,
java.lang.String value)
key - is the property namevalue - is the property value
public abstract void setSpecifiers(java.lang.String key,
List value)
key - is the property namevalue - is the property value
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||